package br.ufrj.tcc.metrics;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.Intent;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.TextView;

public class GpsPosition extends Activity {

	private TextView textView;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_gps_position);
        
        textView = (TextView) findViewById(R.id.gps_position);
        Bundle builder = getIntent().getExtras();
        
        textView.setText(builder.getString("br.ufrj.tcc.metrics.MESSAGE"));
        
    }
   

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_gps_position, menu);
        return true;
    }
    
    
    public void selfDestruct(View view) {
    	finish();
    }
    
}
